#include"Slist.h"
int main()
{
	Slist* slist=NULL;
	FrontPush(&slist, 1);
	FrontPush(&slist, 2);
	FrontPush(&slist, 3);
	FrontPush(&slist, 4);
	BackPush(&slist, 5);
	BackPush(&slist, 6);
	BackPush(&slist, 7);

	Print(slist);
	//FrontPop(&slist);
//	FrontPop(&slist);
	//BackPop(&slist);
	//BackPop(&slist);
	//Print(slist);

	Slist* pos = SlistFind(slist, 3);
	SLinsert(&slist, pos, 9);
	SLinsertAfter(pos, 10);
	Print(slist);
	//SLErase(&slist, pos);
	SLEraseAfter(pos);
	Print(slist);

}